package mq.service;
/**
 * @description: Mq消息异常邮件预警
 * @author: zk
 * @since: 2022-08-16 13:38:55
 */
public interface IMqMailService {

    /**
     * 添加异常记录缓存到redis中
     *
     * @param messageId
     * @param type
     */
    void addRecord(String messageId,Integer type);

    /**
     * 定时发送邮件预警
     */
    void sendMail();

}
